﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Web;
using System.Xml.Serialization;

namespace BayNexususer.XMLModel
{
    [Serializable]
    [System.Runtime.InteropServices.ComVisible(false)]
    public class specialbillele
    {
        public specialbillele()
        {

        }
        public specialbillele(string _option,string _eleid, string _elename, string _elevalue)
        {
            this._option = _option;
            this._eleid = _eleid;
            this._elename = _elename;
            this._elevalue = _elevalue;
        }
        //是否是下拉值（0为文本框，1为下拉值）
        private string _option;
        //翻身的元素id(固定值)：HT51.02.677
        private string _eleid;
        //元素名称
        private string _elename;
        //元素值
        private string _elevalue;

        [DefaultValue(null)]
        [XmlElement("elevalue")]
        public string elevalue
        {
            get { return _elevalue; }
            set { _elevalue = value; }
        }
        [DefaultValue(null)]
        [XmlElement("elename")]
        public string elename
        {
            get { return _elename; }
            set { _elename = value; }
        }
        [DefaultValue(null)]
        [XmlElement("eleid")]
        public string eleid
        {
            get { return _eleid; }
            set { _eleid = value; }
        }
        [DefaultValue(null)]
        [XmlElement("option")]
        public string option
        {
            get { return _option; }
            set { _option = value; }
        }
        /// <summary>
        /// 复制对象
        /// </summary>
        /// <returns>复制品</returns>
        public specialbillele Clone()
        {
            return (specialbillele)this.MemberwiseClone();
        }
    }
}